package com.lin.sqltool.config;

import java.nio.file.Path;
import java.nio.file.Paths;

public class BaseConfig {


    /**
     * 保存目录
     */
    public static final Path SAVE_DIR = Paths.get(System.getProperty("user.home"), ".sql-gui-tool");

    /**
     * 连接文件地址
     */
    public static final Path CONNECTIONS_FILE = SAVE_DIR.resolve("connections.json");


    /**
     * 配置文件地址
     */
    public static final Path CONFIG_FILE = SAVE_DIR.resolve("config.json");


    /**
     * 日志
     */
    public static final Path LOG_FILE = SAVE_DIR.resolve("log.txt");

}
